import request from "@/utils/request";

// 订单列表
export function order_return_index(params) {
  return request({
    url: "/orderReturn/index",
    method: "get",
    params
  });
}

export function get_order(params) {
  return request({
    url: "/orderReturn/getOrder",
    method: "get",
    params
  });
}

// 选择退货单
export function check_return_order(data) {
  return request({
    url: "/orderReturn/checkOrder",
    method: "post",
    data: data
  });
}

// 提交
export function submit_order(data) {
  return request({
    url: "/orderReturn/add",
    method: "post",
    data: data
  });
}

//退货单查看
export function return_order_info(params) {
  return request({
    url: "/orderReturn/info",
    method: "get",
    params
  });
}
// 审核
export function return_order_check(data) {
  return request({
    url: "/orderReturn/check",
    method: "post",
    data: data
  });
}
